Applies a moving average filter to a signal.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | navg |
The size of the averaging window. This parameter must be positive and non-zero. |
||
| real(kind=real64), | intent(in) | :: | x(:) |
An N-element array containing the signal to filter. |
An N-element array containing the filtered signal.